package com.iphanta.community;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@EnableWebMvc
@ComponentScan(basePackages = {"com.iphanta.community", "com.baidu.fsg.uid"})
@MapperScan(basePackages = {"com.iphanta.community.*.mapper", "com.baidu.fsg.uid.worker.dao"})
@SpringBootApplication
@EnableFeignClients
public class CommunityApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommunityApplication.class, args);
    }

}
